package com.dq.repository.orders;

import com.dq.domain.orders.Orders;
import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.stereotype.Repository;

/**
 * @Author luchangtong
 * @Date 2019/11/27 14:06
 */
@Repository
public interface OrdersRepository extends JpaRepository<Orders,Long> {
    Orders getByOrdersNo(String orderNo);
    Boolean existsByOrdersNo(String ordersNo);
}
